home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1985 June
/
Ahoy_Magazine_85-06_1985_Double_L.d64
/
screen dump ii
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
982b
|
28 lines
1 rem before loading this program you must poke44,64:poke16384,0:new
5 s0 = peek(46)*256 + peek(45) : s1 = s0-210 : s2 = s0-150 : b = 8192
30 sys s1
100 for x = 0 to 319 step .4
105 y=int(100-(100*cos(x/05))*exp(-x/240))
150 char=int(x/8)
155 row=int(y/8)
160 line=y and 7
165 byte = b + row*320 + char*8 + line
170 bit=7-(x and 7)
175 poke byte,peek (byte) or (2^bit)
180 next x
190 get a$: if a$<>chr$(133) then 190
195 poke 251,0 : poke 252,32
200 for i = 0 to 7 : poke 2048+i,2^i : next
205 open4,4,5:cmd4:print chr$(10) chr$(10)
210 print chr$(27)"@":print chr$(27) chr$(51) chr$(16)
215 print" ";
220 print"------------------------------------------------------"chr$(10)
225 forl=0 to 24:print chr$(27) chr$(76) chr$(250) chr$(2);
230 sys s2
265 print chr$(245) chr$(10);
270 next l:print chr$(27)"@"
275 print" ";
280 print"------------------------------------------------------"
285 print#4,:close4
290 end